function searchVersion(dataString) {
    let index = dataString.indexOf('1234')
    if (index === -1) return
    return parseFloat(dataString.substring(index + 1))
}
console.log (searchVersion ('version1234'));
console.log (searchVersion ('version5678'));
